package com.teamone.etl.systemsettings.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (OperatingRecord)表实体类
 *
 * @author makejava
 * @since 2021-01-25 10:54:25
 */
@SuppressWarnings("serial")
public class OperatingRecord extends Model<OperatingRecord> {

    /**
     * 编号id
     */
    private Integer id;

    /**
     * 操作人编号
     */
    private Integer userId;

    /**
     * 操作日期
     */
    private Object operatingTime;

    /**
     * 操作人ip
     */
    private String userIpAddress;

    /**
     * 操作内容
     */
    private String operatingContext;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Object getOperatingTime() {
        return operatingTime;
    }

    public void setOperatingTime(Object operatingTime) {
        this.operatingTime = operatingTime;
    }

    public String getUserIpAddress() {
        return userIpAddress;
    }

    public void setUserIpAddress(String userIpAddress) {
        this.userIpAddress = userIpAddress;
    }

    public String getOperatingContext() {
        return operatingContext;
    }

    public void setOperatingContext(String operatingContext) {
        this.operatingContext = operatingContext;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}